﻿//using AxDSOFramer;
using Microsoft.Office.Interop.PowerPoint;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace VisualPoint.Prototype
{
    public partial class Form1 : Form
    {
        private Microsoft.Office.Interop.PowerPoint.Application _Application;

        public Form1()
        {
            InitializeComponent();

            //_framerControl.CreateNew("PowerPoint.Show.8");
            //Presentation presentation = _framerControl.ActiveDocument as Presentation;

            //if (presentation != null)
            //{
            //    _Application = presentation.Application;
            //}
        }

        private void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            //_framerControl.Dispose();
        }

        private void btnTest_Click(object sender, EventArgs e)
        {
            //Presentation presentation =  _framerControl.ActiveDocument as Presentation;
            //if (presentation == null)
            //{
            //    lblMessage.Text = "Active document is not a presentation";
            //}
            //else
            //{
            //    lblMessage.Text = "It is a presentation. Jippie";
            //}

            ////_Application.slidesho

            //Slide slide = presentation.SlideShowWindow.View.Slide;

            //lblMessage.Text += "; " + slide.SlideNumber;
        }

        // commands: 
        //  OpenFile
        //  GotoLine
        //  GotoColumn
        //  SetCursor
        //  Write
        //  Delete
    }
}
